const socket = new WebSocket('ws://localhost:8000');
socket.addEventListener('open', (event) => {
	socket.send('[HMR] is Ready');
	console.log('[HMR] Start');
});
socket.addEventListener('message', function (event) {
	// Simple Live Reload
	if (event.data === 'reload') window.location.reload();
});